/* Global theme and helpers */
:root {
  --primary-color: #4a7b26;
  --primary-hover: #3e6a20;
  --text-color: #333;
  --muted-color: #666;
  --bg-light: #f5f7f8;
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; }
body { margin: 0; color: var(--text-color); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Microsoft YaHei', sans-serif; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section-title { font-size: 28px; font-weight: 700; text-align: center; color: #222; }
.section-underline { width: 96px; height: 4px; background: var(--primary-color); border-radius: 2px; margin: 12px auto 0; }
.section-subtitle { text-align: center; color: var(--muted-color); margin-top: 10px; }

.btn-primary { background: var(--primary-color); color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600; border: none; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; display: inline-block; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 6px 16px rgba(74,123,38,0.25); }

.btn-outline { border: 1px solid #fff; color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600; background: transparent; }

.card { background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); overflow: hidden; }
.card-body { padding: 16px; }

.text-muted { color: var(--muted-color); }

/* Utility */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Dark footer theme */
.footer-dark { background: #222; color: #bfbfbf; }
.footer-dark a { color: #bfbfbf; text-decoration: none; }
.footer-dark a:hover { color: #fff; }
.footer-dark .footer-title { color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-dark .footer-line { border-top: 1px solid #333; margin-top: 16px; padding-top: 16px; text-align: center; color: #888; }